<?php

class ItemMovieModel extends DBModel
{
	protected $_table = '{{item_movie}}';
	protected $_id = 'mid';
	
	public function getListByItemID($itemid)
	{
		return $this->findAll('itemid = :itemid', array(':itemid' => $itemid));
	}
	
	public function delByItemID($itemid)
	{
		return $this->delete('itemid = :itemid', array(':itemid' => $itemid));
	}
}